/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.campusinfocompany.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfz.campusinfo.common.persistence.DataEntity;

/**
 * 公司管理Entity
 * @author zms
 * @version 2018-04-17
 */
public class CampusinfoCompany extends DataEntity<CampusinfoCompany> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 公司名称
	private String forShort;		// 公司简介
	private String corporation;		// 法人
	private String account;		// 账户
	private String password;		// 密码
	private String curRemainder;		// 当前余额
	private String avaRemainder;		// 可用余额
	private String reqRemainder;		// 已申请余额


	public CampusinfoCompany() {
		super();
	}

	public CampusinfoCompany(String id){
		super(id);
	}

	@Length(min=1, max=64, message="公司名称长度必须介于 1 和 64 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=1, max=255, message="公司简介长度必须介于 1 和 255 之间")
	public String getForShort() {
		return forShort;
	}

	public void setForShort(String forShort) {
		this.forShort = forShort;
	}
	
	@Length(min=1, max=64, message="法人长度必须介于 1 和 64 之间")
	public String getCorporation() {
		return corporation;
	}

	public void setCorporation(String corporation) {
		this.corporation = corporation;
	}
	
	@Length(min=1, max=64, message="账户长度必须介于 1 和 64 之间")
	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}
	
	@Length(min=1, max=100, message="密码长度必须介于 1 和 100 之间")
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}
	
	@Length(min=1, max=64, message="当前余额长度必须介于 1 和 64 之间")
	public String getCurRemainder() {
		return curRemainder;
	}

	public void setCurRemainder(String curRemainder) {
		this.curRemainder = curRemainder;
	}
	
	@Length(min=1, max=64, message="可用余额长度必须介于 1 和 64 之间")
	public String getAvaRemainder() {
		return avaRemainder;
	}

	public void setAvaRemainder(String avaRemainder) {
		this.avaRemainder = avaRemainder;
	}
	
	@Length(min=1, max=64, message="已申请余额长度必须介于 1 和 64 之间")
	public String getReqRemainder() {
		return reqRemainder;
	}

	public void setReqRemainder(String reqRemainder) {
		this.reqRemainder = reqRemainder;
	}
	
}